﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="comp_add.aspx.cs" Inherits="HY.WEB.SA.comp_add" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
         <link href="../css/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server" >
    <div>

    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1" />
    <ext:HiddenField ID="hidstype" runat="server"></ext:HiddenField>
    <ext:Label ID="labResult" CssClass="result" EncodeText="false" runat="server">
    </ext:Label>

      <ext:SimpleForm ID="SimpleForm1" BodyPadding="5px" runat="server" AutoScroll="true" EnableBackgroundColor="true"
        ShowBorder="True" Title="表单" Width="718px" ShowHeader="True">
        <Items>
            <ext:DropDownList ID="ddlcomp" Width="300px" runat="server" Label="企业名称查询" EnableEdit="True" >
            </ext:DropDownList>
          
            <ext:TextBox runat="server" Width="200px" Label="企业名称" ID="txtnm"  Required="true" ShowRedStar="true">
            </ext:TextBox>     
                         <ext:DropDownList ID="ddllevel" runat="server" Width="200px" Label="业务级别">
                    </ext:DropDownList>
                  <ext:TextBox runat="server" Width="200px" Label="企业规模(在职人数)" ID="txtcompnum" >
            </ext:TextBox>
                    <ext:DropDownList ID="ddlxz" runat="server" Label="企业性质">
                    </ext:DropDownList>
                   
                       <ext:DropDownList ID="ddlcity" runat="server" Label="所属区域">
                    </ext:DropDownList>

 <ext:TextBox runat="server"  Label="地址" ID="txtaddress" Text="东莞"  >
            </ext:TextBox>

             <ext:TextBox runat="server" Width="200px" Label="邮政编码" ID="txtpost" >
            </ext:TextBox>
              <ext:TextBox runat="server"  Label="联系人" ID="txtperson" Required="true" ShowRedStar="true">
            </ext:TextBox>
             <ext:TextBox runat="server"  Label="联系人性别" ID="txtsex" >
            </ext:TextBox>
             <ext:TextBox runat="server"  Label="联系人职务" ID="txtjob" >
            </ext:TextBox>
  <ext:TextBox runat="server"  Label="电话" ID="txttel" ShowLabel="true"   CssClass="inline"   Required="true" ShowRedStar="true">
                    </ext:TextBox>
            <ext:Panel ID="Panel1" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
                ShowBorder="false" ShowHeader="false" Title="Panel" >
                <Items>                   
                    <ext:Button ID="btchktel" runat="server"  OnClick="btnctel_Click"   CssClass="inline"  Text="检测电话重复"> </ext:Button>
                    <ext:Label ID="lbltel" runat="server" Label=""   CssClass="inline"  ></ext:Label>
            </Items>
            </ext:Panel>

               <ext:TextBox runat="server" Width="200px" Label="传真" ID="txtfax" >
            </ext:TextBox>
            
               <ext:TextBox runat="server" Width="200px" Label="网址" ID="txtwebsite" >
            </ext:TextBox>
            
               <ext:TextBox runat="server" Width="200px" Label="邮箱" ID="txtmail" >
            </ext:TextBox>

               <ext:TextBox runat="server" Width="200px" Label="手机" ID="txtmtel" >
            </ext:TextBox>
              <ext:TextBox runat="server" Width="200px" Label="QQ" ID="txtqq" >
            </ext:TextBox>
              <ext:TextBox runat="server" Width="200px" Label="MSN/Skype" ID="txtmsn" >
            </ext:TextBox>      

         <ext:DropDownList ID="ddltype" runat="server" Label="客户类型"></ext:DropDownList>
          <ext:DropDownList ID="ddlhy" runat="server" Label="所属行业"> </ext:DropDownList>

                         <ext:DatePicker runat="server" Width="150px"  Label="注册日期" EmptyText="企业注册日期"
                ID="date1"  DateFormatString="yyyy-M-d"    >
                    </ext:DatePicker>
                    <ext:CheckBox ID="chbyn" Label="是否公司客户" Text=""  runat="server"></ext:CheckBox>
             <ext:ContentPanel ID="ContentPanel1" runat="server" Width="800px" BodyPadding="5px"
        EnableBackgroundColor="true" ShowHeader="true" Title="企业简介">
                <FCKeditorV2:FCKeditor ID="FCKeditor1" runat="server" BasePath="~/fckeditor/" Height="300px">
        </FCKeditorV2:FCKeditor>        


             </ext:ContentPanel>
                <ext:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" ValidateForms="SimpleForm1"
                Text="提交">
            </ext:Button>
        </Items>
    </ext:SimpleForm>
  
    </div>
    </form>
</body>
</html>
